package cn.nexd.collector.bean;

/**
 * Created by codngfish on 16/5/6.
 */
public class WifiCollectorResult {
    private String wifiName;
    private String wifiAddress;
    private long startTimestamp;//信号第一次扫描时间
    private long endTimestamp;//信号最后一次扫描时间
    private float rssi;// 信号强度,加权平均值
    private float startRssi;//第一次采集到的信号强度
    private float endRssi;// 最后一次采集到的信号强度
    private long timestamp;

    public String getWifiName() {
        return wifiName;
    }

    public void setWifiName(String wifiName) {
        this.wifiName = wifiName;
    }

    public String getWifiAddress() {
        return wifiAddress;
    }

    public void setWifiAddress(String wifiAddress) {
        this.wifiAddress = wifiAddress;
    }

    public long getStartTimestamp() {
        return startTimestamp;
    }

    public void setStartTimestamp(long startTimestamp) {
        this.startTimestamp = startTimestamp;
    }

    public long getEndTimestamp() {
        return endTimestamp;
    }

    public void setEndTimestamp(long endTimestamp) {
        this.endTimestamp = endTimestamp;
    }

    public float getRssi() {
        return rssi;
    }

    public void setRssi(float rssi) {
        this.rssi = rssi;
    }

    public float getStartRssi() {
        return startRssi;
    }

    public void setStartRssi(float startRssi) {
        this.startRssi = startRssi;
    }

    public float getEndRssi() {
        return endRssi;
    }

    public void setEndRssi(float endRssi) {
        this.endRssi = endRssi;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }


    @Override
    public String toString() {
        return "WifiCollectorResult{" +
                "wifiName='" + wifiName + '\'' +
                ", wifiAddress='" + wifiAddress + '\'' +
                ", startTimestamp=" + startTimestamp +
                ", endTimestamp=" + endTimestamp +
                ", rssi=" + rssi +
                ", startRssi=" + startRssi +
                ", endRssi=" + endRssi +
                ", timestamp=" + timestamp +
                '}';
    }
}
